package com.dao;

import com.entity.Otherregistration;
import com.entity.OtherregistrationExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

@Repository
public interface OtherregistrationDao {
    long countByExample(OtherregistrationExample example);

    int deleteByExample(OtherregistrationExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(Otherregistration record);

    int insertSelective(Otherregistration record);

    List<Otherregistration> selectByExample(OtherregistrationExample example);

    Otherregistration selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") Otherregistration record, @Param("example") OtherregistrationExample example);

    int updateByExample(@Param("record") Otherregistration record, @Param("example") OtherregistrationExample example);

    int updateByPrimaryKeySelective(Otherregistration record);

    int updateByPrimaryKey(Otherregistration record);

    Otherregistration findByServiceid(Integer serviceid);
}